package com.amrit.basic;


public class ExchangeValue {
	public static void main(String[] args) {
		String a= "Ulta";
		String b= "pulta";
		System.out.println("The String is- " + a +" "+ b);
		a = b.concat(a);
		b=a.substring(b.length(),a.length());
		a=a.substring(0,a.length() - b.length());
		System.out.println("a is = " + a);
		System.out.println("b is = "+b);
		System.out.println("Now the String is- " + a +" "+ b);
	}
}